*** Yadon Data Analyses: 2018 Lucid Survey



* open "Yadon 2018 Lucid Survey.dta" 



** Table 1
	tab treatpolice
	
** Figure 2
	reg treatpolice skintone age01 edu01 income01 pid01 ideo female south hisp blackid treatlt treatmddk treatdk 
			margins, at(skintone=(0(.1)1))
					marginsplot, ///
					   title("Darker-Skinned Black People Given Harsher Treatment by Police", position(12) color(black) size(large)) ///
						ytitle("Believe Darker-Skinned People Treated Worse", size(medsmall)) ///
						xtitle("Self-Assessed Skin Tone, light to dark", size(medium)) ///
						subtitle("") ///
						yline(0, lpattern(dash) lcolor(black)) ///
						yscale(titlegap(4)) ///
						xscale(titlegap(4) ) ///
						ylabel(0(.1)1) ///
						plot1opts(mcolor(gs9) msize(medium)) 	///
						ci1opts(lwidth(medium) color(gs9)) ///
						recast(line) recastci(rarea) ///
						graphregion( color(white) ) ///
						l(95) 
